package co.com.autolavado.ln;

import java.util.List;

import co.com.ticci.autolavado.general.AbstractFactory;
import co.com.ticci.autolavado.interfaces.IVehiculo;
import co.com.ticci.autolavado.vo.TicciVehiculo;

public class VehiculoLn 
{
	private IVehiculo daoVehiculo;
	
	public VehiculoLn() 
	{
		daoVehiculo = AbstractFactory.getBaseDatos(1).getVehiculo();
	}
	
	
	public List<TicciVehiculo> getVehiculoByEmpresa(int emprCons)
	{
		return daoVehiculo.getVehiculoByEmpresa(emprCons);
	}
	
	public int getUltimoVehiCons()
	{
		return daoVehiculo.getUltimoVehiCons();
	}
}
